package com.fable.common.constants;

public final class CommonConstant {

    //数据库排序分页
    public static final String ASC = "asc";
    public static final String DESC = "desc";
    public static final String LIMIT = "limit 1000";

    //消息框
    public static final String RIGHT = "right";
    public static final String LEFT = "left";

    //文件后缀名
    public static final String ZIP = ".zip";
    public static final String TXT = ".txt";
    public static final String GEOJSON = ".geojson";
    public static final String JSON = ".json";
    public static final String PNG = ".png";
    public static final String JPG = ".jpg";
    public static final String XLX = ".xlx";
    public static final String XLSX = ".xlsx";
    public static final String XML = ".xml";


    // Swagger WHITELIST
    public static final String[] SWAGGER_WHITELIST = {
            "/swagger-ui.html",
            "/swagger-ui/*",
            "/swagger-resources/**",
            "/v2/api-docs",
            "/v3/api-docs",
            "/webjars/**",
            "/doc.html",
    };


    // System WHITELIST
    public static final String[] SYSTEM_WHITELIST = {
            "/ntzw_ga/sys-user/login",
            "/ntzw_ga/sys-user/reUserName",
            "/ntzw_ga/sys-user/getVerify",
            "/ntzw_ga/sys-user/checkVerify",
            "/ntzw_ga/chat-msg/send",
            "/websocket/**",
            "/ntzw_ga/feast-user/signUp"
    };
}
